package model;

import model.primitive.Primitive;


public class GenericMesh extends Primitive{
	private Points points;
	private Triangles triangles;
	private Normal normal;
	private Uvs uvs;
	
	public GenericMesh(String shader, String name) {
		super(shader, name);
	}
	
	public GenericMesh(String shader, String name, Triangles triangles,
			Points points, Normal normal, Uvs uvs) {
		super(shader, name);
		this.points = points;
		
	}

	public Points getPoints() {
		return points;
	}
	public void setPoints(Points points) {
		this.points = points;
	}
	public Triangles getTriangles() {
		return triangles;
	}
	public void setTriangles(Triangles triangles) {
		this.triangles = triangles;
	}
	public Normal getNormal() {
		return normal;
	}
	public void setNormal(Normal normal) {
		this.normal = normal;
	}
	public Uvs getUvs() {
		return uvs;
	}
	public void setUvs(Uvs uvs) {
		this.uvs = uvs;
	}
	
	@Override
	public String toString() {
		StringBuffer sb = new StringBuffer();
		sb.append("name: ").append(getName()).append(System.getProperty("separator"));
		
		return sb.toString();
	}
}
